﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserRightSetup.aspx.cs" Inherits="Hisun.View.Management.UserRightSetup" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <table style="width:100%;">
            <tr>
                <td>
                    <asp:Label ID="Label2" runat="server" Text=" *操作员权限设置"></asp:Label>
                </td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="Label5" runat="server" Text="刷新操作员列表："></asp:Label>
                    <asp:Button ID="Button_Refresh" runat="server" onclick="Button_Refresh_Click" 
                        Text="确定" />
                </td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td colspan="3">
                   
                        <asp:LinkButton ID="LinkButton_First" runat="server" CommandArgument="First" 
                            OnClick="MyClick">&lt;&lt;</asp:LinkButton>
                        &nbsp;&nbsp;
                        <asp:LinkButton ID="LinkButton_Prev" runat="server" CommandArgument="Prev" 
                            OnClick="MyClick"> &lt;</asp:LinkButton>
                        &nbsp;&nbsp;
                        <asp:LinkButton ID="LinkButton_Next" runat="server" CommandArgument="Next" 
                            OnClick="MyClick">&gt;</asp:LinkButton>
                        &nbsp;&nbsp;
                        <asp:LinkButton ID="LinkButton_Last" runat="server" CommandArgument="Last" 
                            OnClick="MyClick"> &gt;&gt;</asp:LinkButton>
                        <asp:Label ID="Label_Total" runat="server" Text="共："></asp:Label>
                        <asp:Label ID="Label_CurrenPageAndTo" runat="server" Text="页，当前第 页，转到"></asp:Label>
                        <asp:TextBox ID="TextBox_PageIndex" runat="server" Width="26px"></asp:TextBox>
                        <asp:Label ID="Label4" runat="server" Text="页"></asp:Label>
                        <asp:RangeValidator ID="RangeValidator_PageIndex" runat="server" ControlToValidate="TextBox_PageIndex"
                            ErrorMessage="*" MaximumValue="10000" MinimumValue="1" Type="Integer"></asp:RangeValidator>
                        <asp:Button ID="Button_PageGo" runat="server" CommandArgument="GotoPage" OnClick="MyClick"
                            Text="GO" />
                     <asp:GridView ID="GridView_Users" runat="server"  SkinID ="GridView" AutoGenerateColumns="False">
                        <Columns>
                            <asp:BoundField DataField="操作员ID" HeaderText="操作员ID" ReadOnly="True" 
                                SortExpression="操作员ID" />
                            <asp:BoundField DataField="操作员姓名" HeaderText="操作员姓名" ReadOnly="True" 
                                SortExpression="操作员姓名" />
                            <asp:TemplateField HeaderText="权限管理">
                                <ItemTemplate>
                                    <asp:Button ID="Button_ShowDetailRight" runat="server" 
                                        CommandArgument='<%# Eval("操作员ID") %>' 
                                        oncommand="Button_ShowDetailRight_Command" Text="权限设置" />
                                    <asp:Button ID="Button_ShowRolePage" runat="server" 
                                        CommandArgument='<%# Eval("操作员ID") %>' oncommand="Button_ShowRolePage_Command" 
                                        Text="角色设置" />
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                    </asp:GridView></td>
            </tr>
            <tr>
                <td>
                    <asp:HiddenField ID="CurrentPage" runat="server" Value="0" />
                </td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
<% =alert%>
